/**
 * Copyright (C), 2015-2020, XXX有限公司
 * FileName: PersonService
 * Author:   ZX
 * Date:     2020/7/30 23:33
 * Description:
 * History:
 * <author>          <time>          <version>          <desc>
 * 作者姓名           修改时间           版本号              描述
 */
package org.example.service;

import org.example.dao.PersonDao;
import org.example.dao.TestDao;
import org.example.entity.Person;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import java.util.List;


/**
 * 〈一句话功能简述〉<br>
 * 〈〉
 *
 * @author ZX
 * @create 2020/7/30
 * @since 1.0.0
 */
@Service
public class PersonService {
    @Autowired
    private PersonDao personDao;
    @Autowired
    private TestService testService;

    @Transactional
    public List<Person> queryAll() {
        List<Person> list = personDao.selectPerson();
//        testService.index();
        return list;
    }



}